﻿﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>创天门店管理系统</title>
    <link href="css/cs.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript">
    if(self!=top){top.location=self.location;}
    
    function switchSysBar(){
        if (switchPoint.innerText==3){
            switchPoint.innerText=4;
            document.all("frmTitle").style.display="none";
        }else{
            switchPoint.innerText=3;
            document.all("frmTitle").style.display="";
        }
    }
    
    function logout() {
        window.location = "logout.aspx";
    }
    </script>

 <style type="text/css">
    .td_bg{background:url(images/nav-bar_bg.jpg) no-repeat; vertical-align:middle; width="140px"}
    tr#tr_nav a{font-weight: bold;text-decoration: none;color: gray;hover}
    tr#tr_nav a:hover, tr#tr_nav a:activ{color: red;} 
    .navPoint {COLOR: #0a7ec7; CURSOR: hand; FONT-FAMILY: Webdings; FONT-SIZE: 9pt}
</style>

</head>
<body>
    <table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
        <tr>
            <td colspan="3" height="50">
                <table border="0" cellpadding="0" width="100%">
                    <tr>
                        <td width="220" rowspan="2">
                            <img border="0" src="../images/logo.png" onclick="switchSysBar()"></td>
                        <td height="25px">&nbsp;</td>
                        <td>&nbsp;</td>
                        <td align="right">
                        <%=Session["CS_USER_NAME"]%>
                        | <a href="javascript:void(0);" target="mainFrame">更改密码</a> 
                        | <a href="javascript:void(0);" onclick="logout()" target="mainFrame">退出</a>
                        </td>
                    </tr>
                        
                    <tr id="tr_nav">
<%--                        <td class="td_bg" align="center" width="140px" >
                        <a href="<% = ResolveUrl("~/admin/left.aspx") %>" target="leftFrame">镜片管理</a>
                        </td>
                        <td class="td_bg" align="center" width="140px">
                        <a href="<% = ResolveUrl("~/admin_frame/left.aspx") %>" target="leftFrame">镜架管理</a>
                        </td>                        
                        <td>&nbsp;</td>--%>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td style="width: 10%" valign="top" bgcolor="#FFFFFF" name="frmTitle" id="Td1">
                <iframe frameborder='0' name='leftFrame' style='z-index: 1; visibility: inherit;
                    width: 150px; height: 100%' src='left.aspx' marginwidth='0' marginheight='0'
                    target='mainFrame'></iframe>
            </td>
            <td bgcolor="#FFFFFF" style="width: 2%" align="center">
                <table border="0" cellpadding="0" cellspacing="0" height="100%">
                    <tr>
                        <td style="height: 100%" onclick="switchSysBar()" valign="middle">
                            <font style="font-size: 9pt; cursor: default; color: #ffffff"><span class="navPoint"
                                id="switchPoint" title="关闭/打开左栏">3</span><br />
                            </font>
                        </td>
                    </tr>
                </table>
            </td>
            <td style="width: 88%">
                <iframe name="mainFrame" src="main.aspx" style="visibility: inherit; width: 100%;
                    height: 100%" frameborder="0" marginwidth="0" marginheight="0" scrolling="auto">
                </iframe>
            </td>
        </tr>
    </table>
</body>
</html>
